package com.pocket.demo.core.log;

import ch.qos.logback.classic.spi.ILoggingEvent;
import com.pocket.demo.base.utils.PIDUtil;

/**
 * @author cookie.
 **/
public class PidConverter {

    public String convert(ILoggingEvent event) {
        return getPid();
    }

    public static String getPid() {
        return PIDUtil.PID;
    }
}
